<script>
import { Input } from "element-ui";
export default {
  components: {
    Input
  },
  props: {
    formData: {
      type: Object,
      default: () => {
        return {};
      }
    },
    formItemData: {
      type: Object,
      default: () => {
        return {};
      }
    }
  },
  data() {
    return {};
  },

  render() {
    return (
      <Input
        vModel={this.formData[this.formItemData.model]}
        {...{ attrs: this.formItemData.attributes }}
        change={this.change}
      ></Input>
    );
  },
  methods: {
    change(val) {}
  }
};
</script>
